home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u267.dms
/
u267.adf
/
INC9110B.LZH
/
include
/
setjmp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-28
|
536b
|
30 lines
/*
* setjmp.h
*/
/*
* 3.3.91 sjw; declaration for pdc/amiga
* 10.4.91 sjw; fix jmp_buf dec for missing 'struct'
* 11.4.91 sjw; jmp_buf gots ta be a pointer type somehow
* 28.7.91 sjw; yeah, but let's do it the industry-standard way
*/
#ifndef __SETJMP_H__
#define __SETJMP_H__
struct jmpBufStruct {
long sp;
long d2, d3, d4, d5, d6, d7;
long a2, a3, a4, a5, a6, a7;
};
typedef struct jmpBufStruct jmp_buf[1];
int setjmp(jmp_buf env);
void longjmp(jmp_buf env, int val);
#endif /* __SETJMP_H__ */